#
# @lc app=leetcode.cn id=1365 lang=python3
#
# [1365] 有多少小于当前数字的数字
#

# @lc code=start
class Solution:
    def smallerNumbersThanCurrent(self, nums: List[int]) -> List[int]:
        arr=[]
        for i in nums:
            temp=0
            for j in nums:
                if i>j:
                    temp+=1
            arr.append(temp)
        return arr

# @lc code=end

